package com.mes.schedule.algorithm.iface;

import java.util.Collection;

import com.mes.schedule.domain.SOperationTask;
import com.mes.schedule.domain.SPartTask;
import com.mes.schedule.domain.ScheduleScheme;

/*import com.mes.schedule.persistence.domain.SOperationTask;
import com.mes.schedule.persistence.domain.SPartTask;
import com.mes.schedule.persistence.domain.ScheduleScheme;*/

public interface IPriorityCalc {
	public void calcPriority(ScheduleScheme scheme);
	/**
	 * 只计算进入调度任务的优先级
	 */
	public void calcSchedulePriority(ScheduleScheme scheme);
	
	public void calcPriority(Collection<? extends SOperationTask> operationTaskList,Collection<SPartTask> partTaskList);
	
	
	public void calcOperationTaskPriority(Collection<? extends SOperationTask> operationTaskList);
	
	public void calcOperationTaskPriority(SOperationTask operationTask);
	
	public void calcPartTaskPriority(Collection<SPartTask> partTaskList);
	
	public void calcPartTaskPriority(SPartTask partTask);
}
